<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>雇员集合</title>
</head>
<body>
<table border="1" cellpadding="5" cellspacing="0">
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>职位</td>
        <td>领导编号</td>
        <td>入职日期</td>
        <td>工资</td>
        <td>奖金</td>
        <td>所在部门</td>
    </tr>
    <tr th:each="emp:${emps}">
        <td th:text="${emp.empno}"></td>
        <td th:text="${emp.ename}"></td>
        <td th:text="${emp.job}"></td>
        <td th:text="${emp.mgr}"></td>
        <td th:text="${emp.hiredate}"></td>
        <td th:text="${emp.sal}"></td>
        <td th:text="${emp.comm}"></td>
        <td th:text="${emp.dept.dname}"></td>
    </tr>
</table>
</body>
</html>
